Component({
  properties: {
    announcement: {
      type: Object,
      value: {
        id: 1,
        content: "棠小果上线了，v0.0.2",
      }
    }
  },
  data: {},
  methods: {
    tap: function () {
      wx.navigateTo({
        url: `/pages/detail/index?variant=announcement&id=${this.properties.announcement.id}`,
      })
    }
  }
});
